package com.fzdy.dataplatform.controller.api.right;

import java.util.List;

public class MenuApi {
    private String fresh = "true";
    private String id;
    private String name;
    private String icon;
    private String target = "navtab";
    private String url;
    private Integer tid;
    private Integer index;
    private Integer pid;
    private List<MenuApi> children;

    public MenuApi() {
    }

    public MenuApi(String id, String name, String icon, String url, Integer tid, Integer index) {
        this.id = id;
        this.name = name;
        this.icon = icon;
        this.url = url;
        this.tid = tid;
        this.index = index;
    }

    public String getFresh() {
        return fresh;
    }

    public void setFresh(String fresh) {
        this.fresh = fresh;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public List<MenuApi> getChildren() {
        return children;
    }

    public void setChildren(List<MenuApi> children) {
        this.children = children;
    }
}
